package com.java.exer_2;

public class TestPoint {
    public static void main(String[] args) {
        Point p1 = new Point(1, 2);
        System.out.println(p1);

        Line l1 = new Line(p1, new Point(3, 6));
        System.out.println(l1);

        Line l2 = new Line(0, 0, 1, 6);
        System.out.println(l2);
    }
}
